/*
 * @Author: your name
 * @Date: 2022-04-28 15:43:40
 * @LastEditTime: 2022-04-28 16:04:26
 * @LastEditors: Please set LastEditors
 * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 * @FilePath: \032 SDF16H_FBL_V1.0\examples\none_evm\ble_simple_peripheral\sd_code\sd_dev_led.h
 */
/**
  ******************************************************************************
  * @file    xxx.c 
  * @author  SD Electronics xxx
  * @version V1.0
  * @date    xx-xx-xx
  * @brief   xxxxxxxxxxxxxxxxxx.
  ******************************************************************************
  */
/* Define to prevent recursive inclusion -------------------------------------*/
#ifndef _SD_DEV_LED_H
#define _SD_DEV_LED_H


/* Includes ------------------------------------------------------------------*/



/** 
  * @说明  LED开关
  */
typedef enum 
{
    EN_LED_OFF,
    EN_LED_ON,
}EN_LED_CTRL;


/** 
  * @说明  LED类型
  */
typedef enum 
{
    EN_LED_1,
    EN_LED_2,
    EN_LED_BL,
    EN_LED_MAX,
}EN_LED_TYPE;

/** 
  * @说明  LED硬件配置参数
  */
typedef struct 
{
    enum system_port_t	pstKEY_GPIOPort;				/* KEY所在的GPIO管脚类型 */	
	enum system_port_bit_t	usKEYPin;               /* KEY接收管脚 */	
}ST_LED_PARAM, *PST_LED_PARAM;


/** 
  * @说明  LED硬件配置相关结构体 
  */
typedef struct
{
    PST_LED_PARAM pstLEDParam;
}ST_LED_PHY, *PST_LED_PHY;  



/** 
  * @说明  LED控制结构体 
  */
typedef struct
{
	bool	bInitFlag;	        // 初始化标志
	PST_LED_PHY	pstLEDInfo;
}ST_LED_CTRL, *PST_LED_CTRL;  

#endif
/******************* (C) COPYRIGHT 2011 ShenZhenShiding electronics **************************/
